package com.example.flashsales.entity.vo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 店家的视图对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StoreVo {

    //商家id
    private long id;
    //商家名称
    private String name;
    //商家地址
    private String address;

    //拉人数
    private int userCount;
    //联系人电话
    private String phone;

    //店家状态0正常 1不能使用
    private int state;
    //余额
    private double money;
    //订单数
    private int orderCount;
    //拉一个人的金额
    private double userMoney;
    //一单的金额
    private double orderMoney;

    //邀请码
    private String InviteCode;
}
